from django.urls import path, re_path
from . import views

urlpatterns = [
    path("category/", views.CourseCategoryListAPIView.as_view()),
    path('', views.CourseListAPIView.as_view()),
    re_path("(?P<pk>\d+)/", views.CourseRetrieveAPIView.as_view()),
    path('chapters/', views.ChapterListAPIView.as_view()),

]
